hip.event.api

Undocumented in source.

Public Imports

hip.global.gamedef
public import hip.global.gamedef;
Undocumented in source.
hip.event.handlers.inputmap
public import hip.event.handlers.inputmap;
Undocumented in source.

Members

Classes

Viewport (from hip.api.renderer.viewport)
class Viewport via public import hip.api.renderer.viewport : Viewport;
Undocumented in source.

Functions

addKeyboardListener
const(HipButton)* addKeyboardListener(HipKey key, HipInputAction action, HipButtonType type, AutoRemove remove)
Undocumented in source. Be warned that the author may not have intended to support it.
addScrollListener
const(ScrollListener)* addScrollListener(HipScrollAction onScroll, AutoRemove remove)
Undocumented in source. Be warned that the author may not have intended to support it.
addTouchListener
const(HipButton)* addTouchListener(HipMouseButton btn, HipInputAction action, HipButtonType type, AutoRemove remove)
Undocumented in source. Be warned that the author may not have intended to support it.
addTouchMoveListener
const(TouchMoveListener)* addTouchMoveListener(HipTouchMoveAction onMove, AutoRemove remove)
Undocumented in source. Be warned that the author may not have intended to support it.
areGamepadButtonsJustPressed
bool areGamepadButtonsJustPressed(HipGamepadButton[] btns, ubyte id)
Undocumented in source. Be warned that the author may not have intended to support it.
areGamepadButtonsJustReleased
bool areGamepadButtonsJustReleased(HipGamepadButton[] btns, ubyte id)
Undocumented in source. Be warned that the author may not have intended to support it.
areGamepadButtonsPressed
bool areGamepadButtonsPressed(HipGamepadButton[] btns, ubyte id)
Undocumented in source. Be warned that the author may not have intended to support it.
getAnalog
float[3] getAnalog(HipGamepadAnalogs analog, ubyte id)
Undocumented in source. Be warned that the author may not have intended to support it.
getGamepad
AHipGamepad getGamepad(ubyte id)
Undocumented in source. Be warned that the author may not have intended to support it.
getGamepadBatteryStatus
float getGamepadBatteryStatus(ubyte id)
Undocumented in source. Be warned that the author may not have intended to support it.
getGamepadCount
ubyte getGamepadCount()
Undocumented in source. Be warned that the author may not have intended to support it.
getKeyDownTime
float getKeyDownTime(char key, uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
getKeyUpTime
float getKeyUpTime(char key, uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
getMulticlickCount
ubyte getMulticlickCount(HipMouseButton btn, uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
getNormallizedTouchPosition
float[2] getNormallizedTouchPosition(uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
getScroll
float[3] getScroll()
Undocumented in source. Be warned that the author may not have intended to support it.
getTouchDeltaPosition
float[2] getTouchDeltaPosition(uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
getTouchPosition
float[2] getTouchPosition(uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
getWorldTouchPosition
float[2] getWorldTouchPosition(uint id, Viewport vp)
Undocumented in source. Be warned that the author may not have intended to support it.
isDoubleClicked
bool isDoubleClicked(HipMouseButton btn, uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
isGamepadButtonJustPressed
bool isGamepadButtonJustPressed(HipGamepadButton btn, ubyte id)
Undocumented in source. Be warned that the author may not have intended to support it.
isGamepadButtonJustReleased
bool isGamepadButtonJustReleased(HipGamepadButton btn, ubyte id)
Undocumented in source. Be warned that the author may not have intended to support it.
isGamepadButtonPressed
bool isGamepadButtonPressed(HipGamepadButton btn, ubyte id)
Undocumented in source. Be warned that the author may not have intended to support it.
isGamepadWireless
bool isGamepadWireless(ubyte id)
Undocumented in source. Be warned that the author may not have intended to support it.
isKeyJustPressed
bool isKeyJustPressed(char key, uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
isKeyJustReleased
bool isKeyJustReleased(char key, uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
isKeyPressed
bool isKeyPressed(char key, uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
isMouseButtonJustPressed
bool isMouseButtonJustPressed(HipMouseButton btn, uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
isMouseButtonJustReleased
bool isMouseButtonJustReleased(HipMouseButton btn, uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
isMouseButtonPressed
bool isMouseButtonPressed(HipMouseButton btn, uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
removeKeyboardListener
bool removeKeyboardListener(const(HipButton)* btn)
Undocumented in source. Be warned that the author may not have intended to support it.
removeScrollListener
bool removeScrollListener(const(ScrollListener)* l)
Undocumented in source. Be warned that the author may not have intended to support it.
removeTouchListener
bool removeTouchListener(const(HipButton)* btn)
Undocumented in source. Be warned that the author may not have intended to support it.
removeTouchMoveListener
bool removeTouchMoveListener(const(TouchMoveListener)* l)
Undocumented in source. Be warned that the author may not have intended to support it.
setGamepadVibrating
bool setGamepadVibrating(float vibrationPower, float time, ubyte id)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

HipButton (from hip.api.input.button)
struct HipButton via public import hip.api.input.button : HipButton;

Handler for any kind of button

Meta